// Copyright 2017 Baidu Inc. All Rights Reserved.
// Author: tai xiurong (taixiurong@baidu.com)
//
// Description:upd ssdp

#ifndef BAIDU_IOT_TINYDU_IOT_OS_TEST_TEST_UPNP_BAIDU_UPNP_TEST_H
#define BAIDU_IOT_TINYDU_IOT_OS_TEST_TEST_UPNP_BAIDU_UPNP_TEST_H

#define LOG(_fmt, ...)  printf("%s(%4d): [%s] "_fmt"\n", __FILE__, __LINE__, __func__, ##__VA_ARGS__)

#ifdef __cplusplus
extern "C" {
#endif
/**
 * @brief test for gen xml
 * @return null
 */
void test_gen_xml();
/**
 *  @brief test sspd receive
 *  @return[out] null 
 */
void test_sspd_receive(const char* local_ip);
/**
 *  @brief test all upnp api
 *  @return[out] null 
 */
void test_all_upnp_api(const char* local_ip, const char* mac);

#ifdef __cplusplus
}
#endif

#endif //BAIDU_IOT_TINYDU_IOT_OS_TEST_TEST_UPNP_BAIDU_UPNP_TEST_H